package com.yqg.protection.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * conting_plan 实体类
 *
 * @author zxf
 * @since 2024-10-16
 */
@Getter
@Setter
@TableName("conting_plan")
@ApiModel(value = "ContingPlan对象", description = "")
public class ContingPlan implements Serializable {

    private static final long serialVersionUID = 1L;

    @ExcelProperty(value = "ID", index = 0)
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ExcelProperty(value = "单位ID", index = 1)
    private Long clientId;

    @ExcelProperty(value = "单位名称", index = 2)
    @ApiModelProperty("单位名称")
    @TableField(exist = false)
    private String clientName;

    @ExcelProperty(value = "消防应急预案名称", index = 3)
    @ApiModelProperty("消防应急预案名称")
    private String planName;

    @ExcelProperty(value = "预案级别", index = 4)
    @ApiModelProperty("预案级别")
    private String planLevel;

    @ExcelProperty(value = "建筑物用途", index = 5)
    @ApiModelProperty("建筑物用途")
    private String buildingUseType;

    @ExcelProperty(value = "建筑物结构", index = 6)
    @ApiModelProperty("建筑物结构")
    private String buildingStructType;

    @ExcelProperty(value = "附件名称", index = 7)
    @ApiModelProperty("附件名称")
    private String fileName;

    @ExcelProperty(value = "附件路径", index = 8)
    @ApiModelProperty("附件路径")
    private String fileUrl;

    @ExcelProperty(value = "指导思想", index = 9)
    @ApiModelProperty("指导思想")
    private String guidingIdeology;

    @ExcelProperty(value = "预案目的", index = 10)
    @ApiModelProperty("预案目的")
    private String planPurpose;

    @ExcelProperty(value = "预案依据", index = 11)
    @ApiModelProperty("预案依据")
    private String planPursuant;

    @ExcelProperty(value = "报警和接警处置程序主要内容", index = 12)
    @ApiModelProperty("报警和接警处置程序主要内容")
    private String mainContent;

    @ExcelProperty(value = "应急预案流程ID", index = 13)
    @ApiModelProperty("应急预案流程ID")
    private Long contingPlanFlowId;

    @ExcelProperty(value = "应急预案流程名称", index = 14)
    @ApiModelProperty("应急预案流程名称")
    @TableField(exist = false)
    private String contingPlanFlowName;

    @ExcelProperty(value = "应急预案流程主要内容", index = 15)
    @ApiModelProperty("应急预案流程主要内容")
    private String contingPlanFlowContent;

    @ExcelIgnore
    private Integer isDelete;
}
